package com.ocom.websocket.feign;

import com.ocom.common.constant.SrvpAccessDeviceUrl;
import com.ocom.common.resp.RespMachMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "srvpaccess")
public interface SrvpaccessClientService {

    @PostMapping(SrvpAccessDeviceUrl.URLP_ACCESSDEVICE_getRegionInfo)
    public RespMachMessage getRegionInfo(@RequestParam("comId") Long comId, @RequestParam("regionId") Integer regionId,
                                         @RequestParam("deptId")Integer deptId, @RequestParam("regionName")String regionName);
}
